package com.csun.cmny.provider.device.sleepcare.entity;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-22 14:38
 * @Description: the class sleep care constant
 */
public class SleepCareConstant {

    /**
     * 错误码键 - errorCode
     */
    public static final String SLEEP_CARE_KEY_ERROR_CODE = "errorCode";

    /**
     * 最多登录次数
     */
    public static final int MAX_LOGIN_COUNT = 5;

    /**
     * 定时执行频率 单位: 秒
     */
    public static final int SLEEP_CARE_FREQUENCY = 60;

    /**
     * 用户名
     */
    public static final String SLEEP_CARE_NAME = "cb0460";

    /**
     * 密码
     */
    public static final String SLEEP_CARE_PASSWORD = "999999";

    /**
     * 厂商id
     */
    public static final String SLEEP_CARE_CORP_ID = "SZ000001";

    /**
     * url前缀
     */
    public static final String SLEEP_CARE_URL_PREFIX = "http://123.206.15.70:8080/";

    /**
     * 服务器名称
     */
    public static final String SLEEP_CARE_URL_NAME = "SleepCareIIServer";

    /**
     * 登录
     */
    public static final String SLEEP_CARE_LOGIN =
            SLEEP_CARE_URL_PREFIX + SLEEP_CARE_URL_NAME + "/login.action";

    /**
     * 获取全部用户信息
     */
    public static final String SLEEP_CARE_GET_CORP_ALL_USER_INFO =
            SLEEP_CARE_URL_PREFIX + SLEEP_CARE_URL_NAME + "/getCorpAllUserInfo.action";

    /**
     * 获取体动信息
     */
    private static final String SLEEP_CARE_GET_BODY_MOTION_TIME =
            SLEEP_CARE_URL_PREFIX + SLEEP_CARE_URL_NAME + "/getBodyMotionTime.action";

}
